<?php

Yii::import('common.models.db._base.BaseDeliveryOrderTicketModel');

class DeliveryOrderTicketModel extends BaseDeliveryOrderTicketModel
{
	const STATUS_0=0;
	const STATUS_1=1;
	const STATUS_2=2;
	const STATUS_0_MSG = "Không hoạt động";
	const STATUS_1_MSG = "Đang hoạt động";
	const STATUS_2_MSG = "Thành công";
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	public function attributeLabels() {
		return array(
				'id' => Yii::t('DeliveryModule.main', 'ID'),
				'code' => Yii::t('DeliveryModule.main', 'Ticket Code'),
				'air_bill' => Yii::t('DeliveryModule.main', 'Air Bill'),
				'customer_id' => Yii::t('DeliveryModule.main', 'Receiver'),
				'receiver_name' => Yii::t('DeliveryModule.main', 'Receiver Name'),
				'receive_address' => Yii::t('DeliveryModule.main', 'Receiver Address'),
				'receiver_phone' => Yii::t('DeliveryModule.main', 'Receiver Phone'),
				'city_country' => Yii::t('DeliveryModule.main', 'City Country'),
				'office' => Yii::t('DeliveryModule.main', 'Office'),
				'type_product' => Yii::t('DeliveryModule.main', 'Type Product'),
				'payment' => Yii::t('DeliveryModule.main', 'Payment'),
				'weight' => Yii::t('DeliveryModule.main', 'Weight'),
				'service' => Yii::t('DeliveryModule.main', 'Service'),
				'content' => Yii::t('DeliveryModule.main', 'Content'),
				'start_datetime' => Yii::t('DeliveryModule.main', 'Start Datetime'),
				'sender_address' => Yii::t('DeliveryModule.main', 'Sender Address'),
				'sender_name' => Yii::t('DeliveryModule.main', 'Sender Name'),
				'sender_company' => Yii::t('DeliveryModule.main', 'Sender Company'),
				'sender_phone' => Yii::t('DeliveryModule.main', 'Sender Phone'),
				'if_not_send' => Yii::t('DeliveryModule.main', 'If Not Send'),
				'charge_pri' => Yii::t('DeliveryModule.main', 'Charge Pri'),
				'charge_more' => Yii::t('DeliveryModule.main', 'Charge More'),
				'vat' => Yii::t('DeliveryModule.main', 'Vat'),
				'total' => Yii::t('DeliveryModule.main', 'Total'),
				'updated_datetime' => Yii::t('DeliveryModule.main', 'Updated Datetime'),
				'created_datetime' => Yii::t('DeliveryModule.main', 'Created Datetime'),
				'status' => Yii::t('DeliveryModule.main', 'Status'),
		);
	}
}